/**
 * Copyright (C) 2013-2014 the original author or authors.
 */
package com.foreveross.bsl.common.utils.ws.jackson.mixins;

import org.springframework.data.domain.Sort.Direction;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * xxx
 *
 * @author Wangyi
 * @version v1.0
 *
 * @date 2013-7-26
 *
 */
public abstract class OrderMixin {

	@JsonCreator
	OrderMixin(@JsonProperty("direction") Direction direction, @JsonProperty("property") String property){
		
	}
	
	@JsonIgnore
	abstract boolean isAscending();
}
